package org.marketing.common.dto.leads;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 推荐用户DTO
 * 
 * @author yaohan
 * @date 2017年03月08日
 */
public class ThreadcarDto implements Serializable {

	private static final long serialVersionUID = 1L;
	
	//
	private Long threadId;
	
	// 车主id
	private Long userId;
	// 车主姓名
	private String username;
	// 车主电话
	private String userphone;
	// 朋友姓名
	private String friendname;
	// 朋友电话
	private String friendphone;
	// 推荐车型
	private String recommendedcar;
	// 推荐销售店
	private String recommendedstore;
	// 推荐原因
	private String recommendedreasons;
	// 备注
	private String remark;
	//推荐时间
	 @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	 @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date createtime;
	//推荐状态
	private String recommendedstate;
	//成交时间
	 @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	 @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date trunovertime;
	// 推荐车型
	private String recommendedcars;
	// 推荐销售店
	private String recommendedstores;
	// 推荐原因
	private String recommendedreasonss;
	// 推荐销售店
	private String address;
	// 推荐原因
	private String phonenumber;
	
	private String state;
	
	private Long naiId;
	 
	 private String size;
	public Long getThreadId() {
		return threadId;
	}
	public void setThreadId(Long threadId) {
		this.threadId = threadId;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserphone() {
		return userphone;
	}
	public void setUserphone(String userphone) {
		this.userphone = userphone;
	}
	public String getFriendname() {
		return friendname;
	}
	public void setFriendname(String friendname) {
		this.friendname = friendname;
	}
	public String getFriendphone() {
		return friendphone;
	}
	public void setFriendphone(String friendphone) {
		this.friendphone = friendphone;
	}
	public String getRecommendedcar() {
		return recommendedcar;
	}
	public void setRecommendedcar(String recommendedcar) {
		this.recommendedcar = recommendedcar;
	}
	public String getRecommendedstore() {
		return recommendedstore;
	}
	public void setRecommendedstore(String recommendedstore) {
		this.recommendedstore = recommendedstore;
	}
	public String getRecommendedreasons() {
		return recommendedreasons;
	}
	public void setRecommendedreasons(String recommendedreasons) {
		this.recommendedreasons = recommendedreasons;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public String getRecommendedstate() {
		return recommendedstate;
	}
	public void setRecommendedstate(String recommendedstate) {
		this.recommendedstate = recommendedstate;
	}
	public Date getTrunovertime() {
		return trunovertime;
	}
	public void setTrunovertime(Date trunovertime) {
		this.trunovertime = trunovertime;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getRecommendedcars() {
		return recommendedcars;
	}
	public void setRecommendedcars(String recommendedcars) {
		this.recommendedcars = recommendedcars;
	}
	public String getRecommendedstores() {
		return recommendedstores;
	}
	public void setRecommendedstores(String recommendedstores) {
		this.recommendedstores = recommendedstores;
	}
	public String getRecommendedreasonss() {
		return recommendedreasonss;
	}
	public void setRecommendedreasonss(String recommendedreasonss) {
		this.recommendedreasonss = recommendedreasonss;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhonenumber() {
		return phonenumber;
	}
	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Long getNaiId() {
		return naiId;
	}
	public void setNaiId(Long naiId) {
		this.naiId = naiId;
	}

    /*
     * 2017.5.4 新增字段，表示线索状态(2:新线索3:重复线索4:无效线索)
     */
    private String threadStatus;
    
    /**
     * @return the threadStatus
     */
    public String getThreadStatus() {
        return threadStatus;
    }
    
    /**
     * @param threadStatus the threadStatus to set
     */
    public void setThreadStatus(String threadStatus) {
        this.threadStatus = threadStatus;
    }
    /*
     * 2017.09.04 新增字段，表示车型名称
     */
    private String seriesName;
    
    private String dealerName;
    
    /**
     * @return the seriesName
     */
    public String getSeriesName() {
        return seriesName;
    }
    
    /**
     * @param seriesName the seriesName to set
     */
    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }
    
    /**
     * @return the dealerName
     */
    public String getDealerName() {
        return dealerName;
    }
    
    /**
     * @param dealerName the dealerName to set
     */
    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }
    
}
